/* 根据剧本ID 获取 对应的角色  */

import {http} from "@/utils/http";

// 获取自定义的参数
const baseProxy = import.meta.env.VITE_BASEPROXY;

/** 获取图形验证码 */
export const getCodeImg = () => {
    return http.request<any>(
        "post",
        `${baseProxy}/login/createCode`,{},{
          responseType:"blob",
          timeout: 5000
      }
    );
};

